<!DOCTYPE html>



  


<html class="theme-next muse use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/blog/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/blog/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/blog/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/blog/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/blog/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/blog/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Ceph,">










<meta name="description" content="ceph参数修改和查询查询ceph参数：  123ceph --show-configceph daemon osd.1 config get mon_osd_full_ratioceph daemon mon.storage1 config get mon_data">
<meta name="keywords" content="Ceph">
<meta property="og:type" content="article">
<meta property="og:title" content="ceph在线修改和查看参数">
<meta property="og:url" content="http://vosamo.gitee.io/blog/2019/02/22/ceph在线修改和查看参数/index.html">
<meta property="og:site_name" content="VOSAMO">
<meta property="og:description" content="ceph参数修改和查询查询ceph参数：  123ceph --show-configceph daemon osd.1 config get mon_osd_full_ratioceph daemon mon.storage1 config get mon_data">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2019-02-22T01:12:06.817Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="ceph在线修改和查看参数">
<meta name="twitter:description" content="ceph参数修改和查询查询ceph参数：  123ceph --show-configceph daemon osd.1 config get mon_osd_full_ratioceph daemon mon.storage1 config get mon_data">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/blog/',
    scheme: 'Muse',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://vosamo.gitee.io/blog/2019/02/22/ceph在线修改和查看参数/">





  <title>ceph在线修改和查看参数 | VOSAMO</title>
  








</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/blog/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">VOSAMO</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/blog/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/blog/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br>
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/blog/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br>
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/blog/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://vosamo.gitee.io/blog/blog/2019/02/22/ceph在线修改和查看参数/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="vosamo">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/blog/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="VOSAMO">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">ceph在线修改和查看参数</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2019-02-22T09:07:02+08:00">
                2019-02-22
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope="" itemtype="http://schema.org/Thing">
                  <a href="/blog/categories/Ceph/" itemprop="url" rel="index">
                    <span itemprop="name">Ceph</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="ceph参数修改和查询"><a href="#ceph参数修改和查询" class="headerlink" title="ceph参数修改和查询"></a>ceph参数修改和查询</h1><h2 id="查询ceph参数："><a href="#查询ceph参数：" class="headerlink" title="查询ceph参数："></a>查询ceph参数：</h2>  <figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">ceph --show-config</span><br><span class="line">ceph daemon osd.1 config get mon_osd_full_ratio</span><br><span class="line">ceph daemon mon.storage1 config get mon_data</span><br></pre></td></tr></table></figure>
<a id="more"></a>
<h2 id="修改ceph参数："><a href="#修改ceph参数：" class="headerlink" title="修改ceph参数："></a>修改ceph参数：</h2><ol>
<li><h3 id="使用ceph-tell方式修改："><a href="#使用ceph-tell方式修改：" class="headerlink" title="使用ceph tell方式修改："></a>使用ceph tell方式修改：</h3><ul>
<li><h4 id="修改mon的参数："><a href="#修改mon的参数：" class="headerlink" title="修改mon的参数："></a>修改mon的参数：</h4><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">ceph tell mon.* injectargs <span class="string">'--&#123;tunable value_to_be_set&#125;'</span></span></span><br></pre></td></tr></table></figure>
</li>
<li><h4 id="修改osd的参数："><a href="#修改osd的参数：" class="headerlink" title="修改osd的参数："></a>修改osd的参数：</h4><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#</span><span class="bash">ceph tell osd.* injectargs <span class="string">'--&#123;tunable value_to_be_set&#125;'</span></span></span><br></pre></td></tr></table></figure>
</li>
<li><h4 id="示例："><a href="#示例：" class="headerlink" title="示例："></a>示例：</h4><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">[root@lab5134 ~]# ceph tell mon.* injectargs '--mon_osd_report_timeout 400'</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
<li><h3 id="使用daemon方式修改设置："><a href="#使用daemon方式修改设置：" class="headerlink" title="使用daemon方式修改设置："></a>使用daemon方式修改设置：</h3><ul>
<li><h4 id="修改配置："><a href="#修改配置：" class="headerlink" title="修改配置："></a>修改配置：</h4><figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">[root@lab5134 ~]# ceph daemon osd.1 config set mon_osd_full_ratio 0.97</span><br><span class="line">&#123; "success": "mon_osd_full_ratio = '0.97' "&#125;</span><br></pre></td></tr></table></figure>
</li>
</ul>
</li>
</ol>
<h2 id="两种方式的使用环境选择："><a href="#两种方式的使用环境选择：" class="headerlink" title="两种方式的使用环境选择："></a>两种方式的使用环境选择：</h2><p>  两种方式比较的话，我们发现，ceph tell方式更适合进行大批量的修改，而deamon更适合小巧的单个物理节点的修改。而这两种方式都依赖这ceph的ceph.conf这个配置文件来进行，就是说，虽然这里可以通过在线修改集群的ceph配置，但是如果不对ceph.conf修改的话，新节点或者重新启动的节点也还是会依照以前的方式进行启动，需要注意。</p>
<h2 id="常用优化集群的配置："><a href="#常用优化集群的配置：" class="headerlink" title="常用优化集群的配置："></a>常用优化集群的配置：</h2>  <figure class="highlight"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br></pre></td><td class="code"><pre><span class="line"><span class="section">[global]</span><span class="comment">#全局设置</span></span><br><span class="line"><span class="attr">fsid</span> = xxxxxxxxxxxxxxx                           #集群标识ID </span><br><span class="line">mon initial members = node1, node2, node3               #初始monitor (由创建monitor命令而定)</span><br><span class="line">mon host = 10.0.1.1,10.0.1.2,10.0.1.3            #monitor IP 地址</span><br><span class="line">auth cluster required = cephx                    #集群认证</span><br><span class="line">auth service required = cephx                           #服务认证</span><br><span class="line">auth client required = cephx                            #客户端认证</span><br><span class="line">osd pool default size = 2                             #默认副本数设置 默认是3</span><br><span class="line">osd pool default min size = 1                           #PG 处于 degraded 状态不影响其 IO 能力,min_size是一个PG能接受IO的最小副本数</span><br><span class="line">public network = 10.0.1.0/24                            #公共网络(monitorIP段) </span><br><span class="line">cluster network = 10.0.2.0/24                           #集群网络</span><br><span class="line">max open files = 131072                                 #默认0#如果设置了该选项，Ceph会设置系统的max open fds</span><br><span class="line"></span><br><span class="line"><span class="comment">##############################################################</span></span><br><span class="line"><span class="section">[mon]</span></span><br><span class="line">mon data = /var/lib/ceph/mon/ceph-$id</span><br><span class="line">mon clock drift allowed = 1                             #默认值0.05#monitor间的clock drift</span><br><span class="line">mon osd min down reporters = 13                         #默认值1#向monitor报告down的最小OSD数</span><br><span class="line">mon osd down out interval = 600      #默认值300      #标记一个OSD状态为down和out之前ceph等待的秒数</span><br><span class="line"><span class="comment">##############################################################</span></span><br><span class="line"><span class="section">[osd]</span></span><br><span class="line">osd data = /var/lib/ceph/osd/ceph-$id</span><br><span class="line">osd journal size = 20000 #默认5120                          #osd journal大小</span><br><span class="line">osd journal = /var/lib/ceph/osd/$cluster-$id/journal    #osd journal 位置</span><br><span class="line">osd mkfs type = xfs                                     #格式化系统类型</span><br><span class="line">osd max write size = 512 #默认值90                   #OSD一次可写入的最大值(MB)</span><br><span class="line">osd client message size cap = 2147483648   #默认值100    #客户端允许在内存中的最大数据(bytes)</span><br><span class="line">osd deep scrub stride = 131072                      #默认值524288         #在Deep Scrub时候允许读取的字节数(bytes)</span><br><span class="line">osd op threads = 16                                         #默认值2                   #并发文件系统操作数</span><br><span class="line">osd disk threads = 4                                         #默认值1                   #OSD密集型操作例如恢复和Scrubbing时的线程</span><br><span class="line">osd map cache size = 1024                              #默认值500                 #保留OSD Map的缓存(MB)</span><br><span class="line">osd map cache bl size = 128                            #默认值50                #OSD进程在内存中的OSD Map缓存(MB)</span><br><span class="line">osd mount options xfs = "rw,noexec,nodev,noatime,nodiratime,nobarrier"   #默认值rw,noatime,inode64  #Ceph OSD xfs Mount选项</span><br><span class="line">osd recovery op priority = 2                 #默认值10              #恢复操作优先级，取值1-63，值越高占用资源越高</span><br><span class="line">osd recovery max active = 10              #默认值15              #同一时间内活跃的恢复请求数 </span><br><span class="line">osd max backfills = 4                           #默认值10                  #一个OSD允许的最大backfills数</span><br><span class="line">osd min pg log entries = 30000           #默认值3000           #修建PGLog是保留的最大PGLog数</span><br><span class="line">osd max pg log entries = 100000         #默认值10000         #修建PGLog是保留的最大PGLog数</span><br><span class="line">osd mon heartbeat interval = 40           #默认值30            #OSD ping一个monitor的时间间隔（默认30s）</span><br><span class="line">ms dispatch throttle bytes = 1048576000 #默认值 104857600 #等待派遣的最大消息数</span><br><span class="line">objecter inflight ops = 819200                   #默认值1024           #客户端流控，允许的最大未发送io请求数，超过阀值会堵塞应用io，为0表示不受限</span><br><span class="line">osd op log threshold = 50                            #默认值5                  #一次显示多少操作的log</span><br><span class="line">osd crush chooseleaf type = 0                       #默认值为1              #CRUSH规则用到chooseleaf时的bucket的类型</span><br><span class="line">filestore xattr use omap = true                         #默认false#为XATTRS使用object map，EXT4文件系统时使用，XFS或者btrfs也可以使用</span><br><span class="line">filestore min sync interval = 10                          #默认0.1#从日志到数据盘最小同步间隔(seconds)</span><br><span class="line">filestore max sync interval = 15                          #默认5#从日志到数据盘最大同步间隔(seconds)</span><br><span class="line">filestore queue max ops = 25000                        #默认500#数据盘最大接受的操作数</span><br><span class="line">filestore queue max bytes = 1048576000            #默认100   #数据盘一次操作最大字节数(bytes</span><br><span class="line">filestore queue committing max ops = 50000       #默认500     #数据盘能够commit的操作数</span><br><span class="line">filestore queue committing max bytes = 10485760000 #默认100 #数据盘能够commit的最大字节数(bytes)</span><br><span class="line">filestore split multiple = 8                                               #默认值2         #前一个子目录分裂成子目录中的文件的最大数量</span><br><span class="line">filestore merge threshold = 40                                        #默认值10       #前一个子类目录中的文件合并到父类的最小数量</span><br><span class="line">filestore fd cache size = 1024                                         #默认值128              #对象文件句柄缓存大小</span><br><span class="line">filestore op threads = 32                                                  #默认值2                    #并发文件系统操作数</span><br><span class="line">journal max write bytes = 1073714824                           #默认值1048560    #journal一次性写入的最大字节数(bytes)</span><br><span class="line">journal max write entries = 10000                                   #默认值100         #journal一次性写入的最大记录数</span><br><span class="line">journal queue max ops = 50000                                      #默认值50            #journal一次性最大在队列中的操作数</span><br><span class="line">journal queue max bytes = 10485760000                       #默认值33554432   #journal一次性最大在队列中的字节数(bytes)</span><br><span class="line"><span class="comment">##############################################################</span></span><br><span class="line"><span class="section">[client]</span></span><br><span class="line">rbd cache = true       #默认值 true      #RBD缓存</span><br><span class="line">rbd cache size = 335544320       #默认值33554432           #RBD缓存大小(bytes)</span><br><span class="line">rbd cache max dirty = 134217728     #默认值25165824      #缓存为write-back时允许的最大dirty字节数(bytes)，如果为0，使用write-through</span><br><span class="line">rbd cache max dirty age = 30     #默认值1                #在被刷新到存储盘前dirty数据存在缓存的时间(seconds)</span><br><span class="line">rbd cache writethrough until flush = false     #默认值true  #该选项是为了兼容linux-2.6.32之前的virtio驱动，避免因为不发送flush请求，数据不回写</span><br><span class="line"><span class="comment">#设置该参数后，librbd会以writethrough的方式执行io，直到收到第一个flush请求，才切换为writeback方式。</span></span><br><span class="line">rbd cache max dirty object = 2     #默认值0              #最大的Object对象数，默认为0，表示通过rbd cache size计算得到，librbd默认以4MB为单位对磁盘Image进行逻辑切分</span><br><span class="line"><span class="comment">#每个chunk对象抽象为一个Object；librbd中以Object为单位来管理缓存，增大该值可以提升性能</span></span><br><span class="line">rbd cache target dirty = 235544320   #默认值16777216    #开始执行回写过程的脏数据大小，不能超过 rbd_cache_max_dirty</span><br></pre></td></tr></table></figure>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/blog/tags/Ceph/" rel="tag"># Ceph</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/blog/2019/02/20/openstack-vm-modify-hostname/" rel="next" title="openstack虚拟机修改hostname">
                <i class="fa fa-chevron-left"></i> openstack虚拟机修改hostname
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/blog/2019/03/28/MySQL数据库备份/" rel="prev" title="MySQL数据库备份">
                MySQL数据库备份 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="/blog/images/avatar.gif" alt="vosamo">
            
              <p class="site-author-name" itemprop="name">vosamo</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/blog/archives/">
              
                  <span class="site-state-item-count">10</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/blog/categories/index.html">
                  <span class="site-state-item-count">4</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/blog/tags/index.html">
                  <span class="site-state-item-count">7</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#ceph参数修改和查询"><span class="nav-number">1.</span> <span class="nav-text">ceph参数修改和查询</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#查询ceph参数："><span class="nav-number">1.1.</span> <span class="nav-text">查询ceph参数：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#修改ceph参数："><span class="nav-number">1.2.</span> <span class="nav-text">修改ceph参数：</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#使用ceph-tell方式修改："><span class="nav-number">1.2.1.</span> <span class="nav-text">使用ceph tell方式修改：</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#修改mon的参数："><span class="nav-number">1.2.1.1.</span> <span class="nav-text">修改mon的参数：</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#修改osd的参数："><span class="nav-number">1.2.1.2.</span> <span class="nav-text">修改osd的参数：</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#示例："><span class="nav-number">1.2.1.3.</span> <span class="nav-text">示例：</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#使用daemon方式修改设置："><span class="nav-number">1.2.2.</span> <span class="nav-text">使用daemon方式修改设置：</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#修改配置："><span class="nav-number">1.2.2.1.</span> <span class="nav-text">修改配置：</span></a></li></ol></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#两种方式的使用环境选择："><span class="nav-number">1.3.</span> <span class="nav-text">两种方式的使用环境选择：</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#常用优化集群的配置："><span class="nav-number">1.4.</span> <span class="nav-text">常用优化集群的配置：</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2019</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">vosamo</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Muse</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/blog/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/blog/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/blog/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/blog/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/blog/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/blog/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/blog/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
